package denglu;

public class User {
    String yonghuming;

    String mima;

    //登录 方法 进行验证
    public boolean denglu(String yonghumingshuru,String mimashuru){

        System.out.println("传递过来的用户名：" + yonghumingshuru);
        System.out.println("传递过来的密码：" + mimashuru);

        if (yonghumingshuru.equals("wdnmd") && mimashuru.equals("123456")){
            return true;
        }else {
            return false;
        }

    }
}
